package com.ktjy.mapper.user;

import com.ktjy.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper {
    public List<Address> selectAllAddress(@Param("contact") String contact,@Param("addressDesc") String addressDesc,
                                          @Param("tel") String tel,@Param("pageBegin") int pageBegin,
                                          @Param("pageSize") int pageSize);

    public int addAddress(Address address);

    public int deleteAddress(Long id);

    public int updateAddress(Address address);
}
